/*
 * SparkpluGUI - Software that displays decoded Sparkplug messages from MQTT IoT
 *    @author guiklimek
 *    @site https://ambre.io/
 *
 * This program and the accompanying materials are made available under the
 * terms of the GNU GENERAL PUBLIC LICENSE which is available at
 *    https://github.com/Ambre-io/sparkplugui
 */
@font-face {
    font-family: 'TitilliumWeb';
    font-style: normal;
    font-weight: normal;
    src: url('../assets/fonts/TitilliumWeb-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'TitilliumWebBold';
    font-style: normal;
    font-weight: normal;
    src: url('../assets/fonts/TitilliumWeb-Bold.ttf') format('truetype');
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: linear-gradient(to right, #9796f0, #fbc7d4);
    font-family: 'TitilliumWeb', sans-serif;
}

::selection {
    background: #E6E6E6;
}

/* yellow   : #FFCA19 */
/* purple   : #D724FF */
/* blue     : #55C6E7 */

/* ******************************************
/* It's about to have a nice background: "C'est véritablement utile puisque c'est joli" - Antoine de Saint-Exupéry
/* see: https://alvarotrigo.com/blog/animated-backgrounds-css/#3)-floating-squares*/
/* ****************************************** */

ul {
    margin: 0;
    padding: 0;
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 22px;
    height: 22px;
    background: rgba(255, 202, 25, 0.4);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 123px;
    height: 123px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 66px;
    height: 66px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 33px;
    height: 33px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 100px;
    height: 100px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 101px;
    height: 101px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 27px;
    height: 27px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 11px;
    height: 11px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 144px;
    height: 144px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 100%;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 100%;
    }
}

.resetCircles li {
    position: unset;
    animation: unset;
    display: unset;
    list-style: unset;
    width: unset;
    height: unset;
    background: unset;
    bottom: unset;
    animation-delay: unset;
    animation-duration: unset;
    user-select: none;
}
